package models

import "gorm.io/gorm"

// 支付记录
type PaymentRecord struct {
	gorm.Model
	CustomerId int `json:"customer_id" gorm:"type:int;comment:'客户id'"`
	CleanerId  int `json:"cleaner_id" gorm:"type:int;comment:'清洁师id'"`
	OrderId    int `json:"order_id" gorm:"type:int;comment:'订单id'"`
}

func (p *PaymentRecord) TableName() string {
	return "payment_record"
}
